package pers.cj.pdos.service;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.Transfer;
import com.baomidou.mybatisplus.extension.service.IService;
import pers.cj.pdos.vo.PacketVo;
import pers.cj.pdos.vo.TransferVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface ITransferService extends IService<Transfer> {

    List<TransferVo> listVoPage(String companyId, Integer page, Integer limit, Boolean close, String search);

    long count(String companyId, Boolean close, String search);

    TransferVo getVoById(String id);

    boolean checkClose(Transfer transfer);

    void insert(Transfer transfer);

    void close(Transfer transfer);
}
